Congress managed to pass a short-term spending bill through both chambers after going through three different versions of it.